logrotate: move config option to menu
authorEneas U de Queiroz <[email protected]>
Wed, 10 Jul 2019 20:23:15 +0000 (17:23 -0300)
committerEneas U de Queiroz <[email protected]>
Wed, 10 Jul 2019 20:52:03 +0000 (17:52 -0300)
Signed-off-by: Eneas U de Queiroz <[email protected]>
utils/logrotate/Makefile

index d3cac1ee1c377bd8d00da9daf25d1847f6fb9110..9a0304e12b1a6da49e9e844b19cab8934307a54f 100644 (file)
@@ -31,11 +31,12 @@ define Package/logrotate
 endef
 
 define Package/logrotate/config
-config LOGROTATE_ACL
-       bool
-       prompt "Enable ACL support"
-       default y if USE_FS_ACL_ATTR
-       default n
+       if PACKAGE_logrotate
+               config LOGROTATE_ACL
+                       bool
+                       prompt "Enable ACL support"
+                       default y if USE_FS_ACL_ATTR
+       endif
 endef
 
 define Package/logrotate/description